package com.bsj.power.common.def.dto.schedule;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author LiJiaXin
 * @version 1.0.0
 * @description Tasks
 * @time 2024/8/26 20:13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TasksDTO {

    /**
     * 表达式
     */
    @NotBlank(message = "CRON表达式不能为空")
    private String cronExpression;

}
